package com.example.sys.calendar.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseAuthPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ApiModel(value = "日程信息")
@TableName(value = "sys_calendar")
public class SysCalendar extends BaseAuthPo<SysCalendar> {

    @ApiModelProperty(value = "开始日期")
    @TableField(value = "start_time")
    private String startTime;

    @ApiModelProperty(value = "结束日期")
    @TableField(value = "end_time")
    private String endTime;

    @ApiModelProperty(value = "事件类型")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "优先级")
    @TableField(value = "priority")
    private String priority;

    @ApiModelProperty(value = "描述")
    @TableField(value = "context")
    private String context;

    @ApiModelProperty(value = "所属人id")
    @TableField(value = "target_id")
    private String targetId;

    @ApiModelProperty(value = "业务名称")
    @TableField(value = "model_name")
    private String modelName;

    @ApiModelProperty(value = "业务id")
    @TableField(value = "model_id")
    private String modelId;

    @ApiModelProperty(value = "跳转地址")
    @TableField(value = "url")
    private String url;
}
